/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.tewi.types;

/**
 * Klasa opisujaca konfigurację portów domeny serwera aplikacyjnego
 * @author Marcin Kwapisz
 */
public class InstancePorts {

    /**
     * port administracyjny
     */
    private final int admin;
    /**
     * port listenera http
     * @return 
     */
    private final int http;
    /**
     * port listenera https
     * @return 
     */
    private final int https;
    /**
     * Port orb
     * @return 
     */
    private final int iiop;
    /**
     * port orb po ssl/tls
     * @return 
     */
    private final int iiops;
    
    /**
     * port jms
     */
    private final int jms;
    
    /**
     * port jmx
     */
    private final int jmx;

    public InstancePorts(int admin, int http, int https, int iiop, int iiops, int jms, int jmx) {
        this.admin=admin;
        this.http = http;
        this.https = https;
        this.iiop = iiop;
        this.iiops = iiops;
        this.jms=jms;
        this.jmx=jmx;
    }

    public int getAdmin() {
        return admin;
    }
    
    public int getHttp() {
        return http;
    }

    public int getHttps() {
        return https;
    }

    public int getIiop() {
        return iiop;
    }

    public int getIiops() {
        return iiops;
    }

    public int getJmx() {
        return jmx;
    }
}
